<template>
	<view style="width: 100%;height: 100%;">
		<image class="cs_full" :src="url" mode=""></image>
	</view>
</template>

<script>
	
	export default {
		props: {
		    option: {
		        type: String,
		        default: function() {
		            return ""
		        }
		    }
		},
		computed: {
			indexchange() {
				return this.option
			}
		},
		watch: {
		　　indexchange(newValue, oldValue) {
		 // 　　　　console.log(newValue)
				var imgurl = this.util.imgUrlfix(newValue)
				// console.log(imgurl)
				this.url = imgurl
		　　}
		},
		created() {
			var imgurl = this.util.imgUrlfix(this.option)
			console.log(imgurl)
			this.url = imgurl
		},
		data(){
			return {
				url:''
			}
		},
		methods:{
			
		}
	}
</script>

<style>
	.cs_full{
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		display: block;
	}
</style>
